<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Duediligencebarbados</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

<%@ page language="java" import	="java.io.*,java.sql.*,java.util.Date,java.text.SimpleDateFormat,java.util.Calendar" %>

<%@include file="dbcon.jsp"%>
<%
// Not Login or User Not Admin
	if ( session.getAttribute("SES_USERSNO") == null )
	{
		response.sendRedirect("../index.jsp");
		return;
	}
%>
<!-- Common Style -->	
	<link href="../css/default.css" rel="stylesheet" type="text/css" />
	<link href="../css/main.css" rel="stylesheet" type="text/css" />		
<!-- jquery main -->				
	<script type="text/JavaScript" src="../jquery/jquery-1.4.2.min.js"></script>					
<!-- Menu -->	
	<link type="text/css" href="../menu/menu.css" rel="stylesheet" />
    <script type="text/javascript" src="../menu/menu.js"></script>
	
<script language="javascript" type="text/javascript">
	var vLoginStatus = <%=(String)session.getAttribute("SES_USERSNO")%>;
	var vUserType = <%=(Integer)session.getAttribute("SES_USERTYPE")%>;	
	window.onload=function()
	{
		var theHeight;
		if (window.innerHeight) {
			theHeight=window.innerHeight;
		}
		else if (document.documentElement && document.documentElement.clientHeight) {
			theHeight=document.documentElement.clientHeight;
		}
		else if (document.body) {
			theHeight=document.body.clientHeight;
		}
		document.getElementById('innerContent').style.minHeight = (theHeight-242) +'px';
	}

	
	function loginProcess(e)
	{

		if (!e) var e = window.event;
		var key = "";
		if(e.keyCode){
			key = e.keyCode;
		}else if (e.which){
			key = e.which;
		}
		if (key == 13){
			validation();
		}
	}

	function validation()
	{
		var frm = document.frmindex;
		if(frm.ed_uname.value.length == 0)
		{
			alert("'User Name' is required.");
			frm.ed_uname.focus();
			return;		
		}
		
		if(frm.ed_pwd.value.length == 0)
		{
			alert("'Password' is required.");
			frm.ed_pwd.focus();
			return;
		}
		
		document.frmindex.submit();
	}

</script> 
</head>

<body >
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr><td align="center">
<table width="1004px" cellpadding="0" cellspacing="0" border="0" class="formbk" >
<tr> <td align="center" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="wrapper" >
<tr><td align="center"><script src="../js/top.js"></script></td></tr>
<tr><td colspan="2" >&nbsp;</td></tr>
<tr><td> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
    <td align="left" valign="top" width="25%" >
	<table width="100%" border="0" cellspacing="0" cellpadding="0" >
	<tr>
    <td align="center" valign="top" width="100%" >	<div id="innerContent"><br /><br /><br />
		<table width="30%" border="0" cellspacing="1" cellpadding="0" >
		<tr><td height="8px"></td></tr>
		<tr><td align="center" class="mainhead" >Welcome : <%=(String)session.getAttribute("SES_USERNAME")%></td></tr>
		</table></div>
	</td></tr>
	</table>
	</td></tr></table>
	</td>
</tr>
<tr><td>&nbsp;</td></tr>
</table></td></tr>
<tr><td align="center"><script src="../js/bottom.js"></script></td></tr>
</table>
</td></tr></table></td></tr>
</table>
</body>
</html>
